Interface UserAuthenticationCallback
-
public interface UserAuthenticationCallbackTheUserAuthenticationCallbackinterface defines the specific elements required for the integrator to interact during a User Authentication flow.If the integrator use a custom user authentication, this interface will be call during any flow where a User Authentication is needed.
A
UserAuthenticationCallbackobject should be provided to theOrchestratorobject (SeeOrchestrator.setUserAuthenticationCallback(UserAuthenticationCallback, UserAuthentication[])) in order to receive feedback during the user password authentication process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classUserAuthenticationCallback.UserAuthentication
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonUserAuthenticationInputError(InputError error)Called upon user input error when it is not conform for the Orchestration library.voidonUserAuthenticationRequired(UserAuthenticationCallback.UserAuthentication type, UserAuthenticationInputCallback inputCallback, boolean isEnrollment)Called when a specific user authentication have been overridden and if an user authentication is required by the Orchestration library.
-
-
-
Method Detail
-
onUserAuthenticationRequired
void onUserAuthenticationRequired(UserAuthenticationCallback.UserAuthentication type, UserAuthenticationInputCallback inputCallback, boolean isEnrollment)
Called when a specific user authentication have been overridden and if an user authentication is required by the Orchestration library. A authentication should be presented to the user. And the user input should be returned throw the inputCallback.- Parameters:
type-UserAuthenticationCallback.UserAuthenticationthe type of authentication asked by the Orchestration libraryinputCallback- aUserAuthenticationInputCallbackcallback to give the user input to the Orchestration libraryisEnrollment- is set to true in case of enrollment
-
onUserAuthenticationInputError
void onUserAuthenticationInputError(InputError error)
Called upon user input error when it is not conform for the Orchestration library.- Parameters:
error- the type of input error
-
-